package rcs

import "gitee.com/wcs2/common/enums"

type rcsMsgTypeStruct struct {
	VApply                 enums.PositionEnum
	VRelease               enums.PositionEnum
	FBL                    enums.PositionEnum
	FRL                    enums.PositionEnum
	BL                     enums.PositionEnum
	TaskStarted            enums.PositionEnum
	TaskCompleted          enums.PositionEnum
	TaskError              enums.PositionEnum
	CancelResult           enums.PositionEnum
	VehicleTaskInterrupted enums.PositionEnum
	RecoverVehicleTask     enums.PositionEnum
	ACK                    enums.PositionEnum
	RgvVdo                 enums.PositionEnum
	RgvSetAgv              enums.PositionEnum
	RgvLL                  enums.PositionEnum
	RgvSetRack             enums.PositionEnum
	RgvFetchRack           enums.PositionEnum
}

//RCS消息类型枚举
var RcsMsgTypeEnum = &rcsMsgTypeStruct{
	VApply: enums.PositionEnum{
		Code: "VApply",
		Des:  "业务申请小车指令",
	}, VRelease: enums.PositionEnum{
		Code: "VRelease",
		Des:  "业务释放小车指令",
	}, FBL: enums.PositionEnum{
		Code: "FBL",
		Des:  "基础业务指令：指挥一个肥波到目标位置做指定任务",
	}, FRL: enums.PositionEnum{
		Code: "FRL",
		Des:  "基础业务指令：指挥一个肥滚到目标位置做指定任务",
	}, BL: enums.PositionEnum{
		Code: "BL",
		Des:  "倒车指令",
	}, TaskStarted: enums.PositionEnum{
		Code: "TaskStarted",
		Des:  "任务开始执行通知",
	}, TaskCompleted: enums.PositionEnum{
		Code: "TaskCompleted",
		Des:  "任务完成通知",
	}, TaskError: enums.PositionEnum{
		Code: "TaskError",
		Des:  "任务出错通知",
	}, CancelResult: enums.PositionEnum{
		Code: "CancelResult",
		Des:  "任务取消结果通知",
	}, VehicleTaskInterrupted: enums.PositionEnum{
		Code: "VehicleTaskInterrupted",
		Des:  "小车任务中断通知",
	}, RecoverVehicleTask: enums.PositionEnum{
		Code: "RecoverVehicleTask",
		Des:  "恢复小车任务指令",
	}, ACK: enums.PositionEnum{
		Code: "ACK",
		Des:  "消息应答报文",
	}, RgvVdo: enums.PositionEnum{
		Code: "RGV_VDO",
		Des:  "RGV高级指令VDO,需叫车",
	}, RgvSetAgv: enums.PositionEnum{
		Code: "RGV_SET_AGV",
		Des:  "修改小车实时坐标(楼层)",
	}, RgvLL: enums.PositionEnum{
		Code: "RGV_LL",
		Des:  "RGV高级指令LL,不需叫车",
	}, RgvSetRack: enums.PositionEnum{
		Code: "RGV_SET_RACK",
		Des:  "设置货架坐标",
	}, RgvFetchRack: enums.PositionEnum{
		Code: "RGV_FETCH_RACK",
		Des:  "小车已取货完成",
	},
}
